package com.ZengQi.event.controller;

import com.ZengQi.event.entity.Topic;
import com.ZengQi.event.service.TopicService;
import com.ZengQi.event.service.impl.TopicServiceImpl;

public class PublisherController {
    private TopicService topicService=new TopicServiceImpl();

    public boolean addTopic(Topic topic){
        return topicService.saveTopic(topic);
    }
}
